package com.clickpaas.workinghours.service;

import com.bizcloud.ipaas.tbba4bf83484b4ed2aacba581fbfeac4d.  d20210220155135.model.TimeCardDateDTO;
import com.bizcloud.ipaas.tbba4bf83484b4ed2aacba581fbfeac4d.  d20210220155135.model.TimeCardDateSaveOrUpdateDataResponseObject;
import com.clickpaas.workinghours.entity.TimeCardDateEntity;

import java.util.List;

public interface TimeCardDateService {
    /**
     * 获取数据
     * @return
     */
    public List<TimeCardDateDTO> getDataInfo(TimeCardDateEntity entity);

    /**
     * 数据转换为bean
     * @return
     */
    public List<TimeCardDateEntity> DataConver(List<TimeCardDateDTO> list);

    /**
     * 工时日期数据入库
     * @return
     */
    public TimeCardDateSaveOrUpdateDataResponseObject insertDataInfo(TimeCardDateEntity entity);

    /**
     * 工时日期数据更新
     * @return
     */
    public TimeCardDateSaveOrUpdateDataResponseObject updateDataInfo(TimeCardDateEntity query,TimeCardDateEntity update);

}
